home *** CD-ROM | disk | FTP | other *** search
- PROGRAM NAME: Getty.PRG/Wordwrap.PRC
-
- DESCRIPTION: Sample program that demonstrates a procedure for
- wrapping long character strings.
-
- ISSUE: April, 1985
- PAGE: D3-23
-
- SOFTWARE VERSIONS: dBASE III, versions 1.0, 1.1
-
- FUNCTION: The procedure Wordwrap.PRC, called by Getty.PRG, takes
- two parameters, the name of the string and the column to wrap.
- It then prints the string, breaking it at the space prior to the
- column position of the wrap parameter.
-
- FILES NEEDED: Wordwrap.PRC
- Getty.PRG
-
- SETUP INSTRUCTIONS: To call this procedure, type DO Getty.
- Getty.PRG, set up as an example, calls Wordwrap WITH line, max.
- To run this procedure from your own program, type DO Wordwrap
- WITH line, max from within your command file. Line is the string
- to wrap, and can be up to 254 characters long. Max is an integer
- designating the maximum line length.
-